package com.cisetech.util.message;

import java.util.List;

import com.cisetech.util.message.model.Article;

/** 
 * 文本消息 
 *  
 * @author zhaopeng 
 * @date 2014-12-10  20:15 
 */  
public class NewsMessage extends BaseMessage {  
    // 图文消息个数，限制为10条以内  
    private int ArticleCount;  
    // 多条图文消息信息，默认第一个item为大图  
    private List<Article> Articles;  
    
    public NewsMessage(){}
    public NewsMessage(String ToUserName,String FromUserName,long CreateTime,String MsgType,int FuncFlag,
    		int ArticleCount,List<Article> Articles){
    	super.ToUserName=ToUserName;
    	super.FromUserName=FromUserName;
    	super.CreateTime=CreateTime;
    	super.MsgType=MsgType;
    	super.FuncFlag=FuncFlag;
    	this.ArticleCount=ArticleCount;
    	this.Articles=Articles;
    }
  
    public int getArticleCount() {  
        return ArticleCount;  
    }  
  
    public void setArticleCount(int articleCount) {  
        ArticleCount = articleCount;  
    }  
  
    public List<Article> getArticles() {  
        return Articles;  
    }  
  
    public void setArticles(List<Article> articles) {  
        Articles = articles;  
    }  
}  
